namespace PickGold.Charting.Design
{
    using System;
    using System.ComponentModel;
    using System.Web.UI.Design;

    internal class SeriesDataFieldYConvertor : SeriesDataFieldXConvertor
    {
        internal SeriesDataFieldYConvertor()
        {
        }

        protected override bool IsApplicable(PropertyDescriptor descriptor)
        {
            return (descriptor.PropertyType != typeof(string));
        }

        protected override bool IsApplicable(IDataSourceFieldSchema shema)
        {
            return (shema.DataType != typeof(string));
        }
    }
}

